package com.lushu.chapitre1.dialogue.nodes.subCondition
{
	import com.lushu.chapitre1.dialogue.nodes.SubConditionNode;

	public class HasBoughtItemCondition extends SubConditionNode
	{
		private var usrID_ : int = 0;
		public var itemID_ : int;
		public var itemQte_ : int = 1;
		
		private var outVarID_ : String;
		private var outVarQte_ : String;
		
		public function HasBoughtItemCondition()
		{
			type_ = "subCondition"
			subConditionType_ = "hasBoughtItem";
		}
		
		public override function setInformation(value : XML) : void
		{
			itemID_ = value.@itemID;
			itemQte_ = value.@itemQte;
			outVarID_ = value.@outItemID;
			outVarQte_ = value.@outItemQte;
		}

	}
}